package com.client;

import java.io.IOException;
import java.net.Socket;

public class ClientMain {
    public static void main(String[] args) throws IOException {
        // 创建 Socket 对象
        Socket client = new Socket("127.0.0.1",8989);
        System.out.println("连接服务端成功！");
    }
}